<ion-header>

  <ion-navbar>
    <ion-title>刷新</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-refresher (ionRefresh)="doRefresh($event)" pullMax='300'>
    <ion-refresher-content
            pullingIcon="arrow-dropdown"
            pullingText="下拉刷新..."
            refreshingSpinner="circles"
            refreshingText="加载中...">
    </ion-refresher-content>
  </ion-refresher>


  <ion-list inset >
    <ion-item *ngFor="let item of list" >
      {{item}}
    </ion-item>
  </ion-list>

  <ion-infinite-scroll (ionInfinite)="doInfinite($event)"
                       threshold="100px">
    <ion-infinite-scroll-content
            loadingSpinner="bubbles"
            loadingText="正在加载更多..."></ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content>
